/**
 * Piece.java
 * Auti i class paragi oles tis nomimes/pithanes kinisis kathe piece 
 * kai epistrefi mia Vector pou perilamvani autes gia kathe piece.
 */
package gameStructure;

import java.awt.Point;
import java.util.Vector;


/**
 * 
 * @author Stordopoulos Dimitris <stordop@csd.uoc.gr>
 */
public abstract class Piece{
    
    public char clor;
    public Point p;
    public String value; // To onoma tis ikonas.
    public boolean mov; // An to piece ine metakinisimo.
    /**
     * @return To Vector me oles tis nomimes/pithanes kinisis tou Pawn.
     */
    public Vector<String> pawn(){
        Vector<String> ret=null;
        
        return ret;
    }
    
    /**
     * @return To Vector me oles tis nomimes/pithanes kinisis tou bishop.
     */
    public Vector<String> bishop(){
        Vector<String> ret=null;
        
        return ret;
    }
    
    /**
     * @return To Vector me oles tis nomimes/pithanes kinisis tou knight.
     */
    public Vector<String> knight(){
        Vector<String> ret=null;
        
        return ret;
    }
    
    /**
     * @return To Vector me oles tis nomimes/pithanes kinisis tou rook.
     */
    public Vector<String> rook(){
        Vector<String> ret=null;
        
        return ret;
    }
    
    /**
     * @return To Vector me oles tis nomimes/pithanes kinisis tou queen.
     */
    public Vector<String> queen(){
        Vector<String> ret=null;
        
        return ret;
    }
    
    /**
     * @return To Vector me oles tis nomimes/pithanes kinisis tou king.
     */
    public Vector<String> king(){
        Vector<String> ret=null;
        
        return ret;
    }
    
//    /**
//     * Auti i method ( kalite prin tin kinisi/propose  kathe Piece) elenhi an o vasilias
//     * tha apilithi apo opiadipote kinisi tou andipalou
//     * prin pragmatopiithi kinisi enos Piece ( tou pekti ston opio aniki o king autos ) 
//     * pou tha kani ton King na apilithi.
//     * @param clr To hroma tou piece pou kali tin method auti.
//     * @return An o King apilite epistrefi true, alios meni os ehi ( false ).
//     */
//    public boolean threatenedKing( char clr){
//        boolean treatended=false;
//        
//        return treatended;
//    }
}